﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.osx {

    public class BrowserInfo {

        private var _platform:String;// = "undefined"
        private var _browser:String;// = "undefined"
        private var _version:String;// = "undefined"

        public static const WIN_PLATFORM:String = "win";
        public static const MAC_PLATFORM:String = "mac";
        public static const SAFARI_AGENT:String = "safari";
        public static const OPERA_AGENT:String = "opera";
        public static const IE_AGENT:String = "msie";
        public static const MOZILLA_AGENT:String = "mozilla";
        public static const CHROME_AGENT:String = "chrome";

        public function BrowserInfo(_arg1:Object, _arg2:Object, _arg3:String){
            var _local4:String;
            var _local5:String;
            super();
            if (((((!(_arg1)) || (!(_arg2)))) || (!(_arg3)))){
                return;
            };
            this._version = _arg1.version;
            for (_local4 in _arg1) {
                if (_local4 != "version"){
                    if (_arg1[_local4] == true){
                        this._browser = _local4;
                        break;
                    };
                };
            };
            for (_local5 in _arg2) {
                if (_arg2[_local5] == true){
                    this._platform = _local5;
                };
            };
        }
        public function get platform():String{
            return (this._platform);
        }
        public function get browser():String{
            return (this._browser);
        }
        public function get version():String{
            return (this._version);
        }

    }
}//package net.wooga.pets.osx 
